Collective coding: sequences of notes

As seen in the MOZART example, it is not necessary to write a macro sequence normalshapemediumseries\notes...normalshapemediumseries\enotes for each column. If, on all staffs of all instruments, spacings are equal or multiple of a unique value, the notes may be concatenated in each staff: each note in each staff makes the current position horizontally advance by the elementary spacing specified by the choice of normalshapemediumseries\notes, normalshapemediumseries\Notes, normalshapemediumseries\ NOtes, etc.


The major interest of this feature resides in that fact that the note macros are able to write several items; for instance normalshapemediumseries\qu{ cdefghij} writes the C-major scale in quarters with stem up. In the same way normalshapemediumseries\cl{ abcdefˆ gh} writes the A-minor scale in eighths. Not all note generating macros can be used to perform collective coding, but most of them can. They are:

Conversely, shifted notes are not supposed to be used in collective coding, mainly because they are used in very special cases which do not deserve wasting memory space to make them collective.


If necessary a void space can be inserted in a collective coding by using normalshapemediumseries*.